<template>
    <div class="sharing">
       <ul class="mui-table-view" v-for = "(item,index) in list" :key="index">
				<li class="mui-table-view-cell">
					<router-link :to=" '/hone/sharing/imglist/' + item.id " class="mui-navigate-right">
                        <p>{{item.title}}</p>
                    </router-link>
				</li>
		</ul>
    </div>
</template>
<script>
import {getimg} from "@/api/index.js";
    export default {
       data(){
          return{
             list:[] 
          } 
       },
       created(){
            this.getimg()
       },
       methods:{
           getimg(){
             getimg().then(res =>{
                 console.log(res)
                   this.list = res.message;
             })
           }
       }
    }
</script>
<style  scoped>

</style>
